﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WeChatStatics.aspx.cs" Inherits="Page_AutoUpdate_WeChatStatics" %>

<!doctype html>

<html class="统计">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <title>统计</title>
    <script src="../../Scripts/jquery-1.8.0.min.js"></script>
    <!--自定义-->
    <link href="../../CSS/m.1.0.css" rel="stylesheet" />
    <link href="../../CSS/m1.css" rel="stylesheet" />
    <link href="../../CSS/product-class.css" rel="stylesheet" />
    <link href="../../layui/css/layui.css" rel="stylesheet" />
    <style>
        .typename {
            height: 32px;
            line-height: 32px;
            display: block;
            overflow: hidden;
            font-size: 14px;
            border-bottom: 1px dashed grey;
        }

        section {
            /*margin-top: 20px;*/
        }

        .layui-btn {
            padding-bottom: 1px;
            margin-right: 0.535rem;
            margin-bottom: 0.535rem;
            text-align: center;
            padding-left: 0.5rem;
            padding-right: 0.5rem;
        }
    </style>
</head>
<body class="red">
    <div class="gridContainer clearfix lml_class">
        <section class="lb_box">
            <div class="right">
                <div style="text-align: center; margin-top: 10px;">
                    <button class="layui-btn" onclick="javascript:window.location.href='/Page/AutoUpdate/WeChatStatics.aspx?NowDateTime=<%=ParmeDt.AddDays(-1).Date %>';"><i class="layui-icon"></i>前一天</button>
                    <button class="layui-btn"><%=ParmeDt.ToShortDateString() %></button>
                    <button class="layui-btn" id="searchDate" onclick="javascript:window.location.href='/Page/AutoUpdate/WeChatStatics.aspx?NowDateTime=<%=ParmeDt.AddDays(1).Date %>';"><i class="layui-icon"></i>后一天</button>
                </div>
                <div class="cases" style='display: block;'>
                    <ul>
                        <%if (昨日在院人数权限 == true)
                            {%>
                        <li><a href="#">
                            <span class="typename">昨日在院人数</span>
                            <span class="text"><% =string.IsNullOrEmpty(昨日在院人数) ? "无" : 昨日在院人数 %></span>
                        </a></li>
                        <%} %>
                        <%if (昨日门诊人数权限 == true)
                            {%>
                        <li><a href="#">
                            <span class="typename">昨日门诊人数</span>
                            <span class="text"><%= string.IsNullOrEmpty(昨日门诊人数) ? "无" :昨日门诊人数%></span>
                        </a></li>
                        <%} %>
                        <%if (昨日急诊人数权限 == true)
                            {%>
                        <li><a href="#">
                            <span class="typename">昨日急诊人数</span>
                            <span class="text"><%= string.IsNullOrEmpty(昨日急诊人数) ? "无" :昨日急诊人数%></span>
                        </a></li>
                        <%} %>
                        <%if (昨日总收入权限 == true)
                            {%>
                        <li><a href="GetYesterdayAmount_ByOrg.aspx?Key=<%=UnicodeKey %>&searchTime=<%=ParmeDt.ToShortDateString() %>">
                            <span class="typename">昨日总收入</span>
                            <span class="text"><%= string.IsNullOrEmpty(昨日总收入) ? "无" :昨日总收入%></span>
                        </a></li>
                        <%} %>
                        <%if (昨日住院收入权限 == true)
                            {%>
                        <li><a href="#">
                            <span class="typename">昨日住院收入</span>
                            <span class="text"><%= string.IsNullOrEmpty(昨日住院收入) ? "无" :昨日住院收入%></span>
                        </a></li>
                        <%} %>
                        <%if (昨日急诊收入权限 == true)
                            {%>
                        <li><a href="#">
                            <span class="typename">昨日急诊收入</span>
                            <span class="text"><%= string.IsNullOrEmpty(昨日急诊收入) ? "无" :昨日急诊收入%></span>
                        </a></li>
                        <%} %>
                        <%if (昨日门诊收入权限 == true)
                            {%>
                        <li><a href="#">
                            <span class="typename">昨日门诊收入</span>
                            <span class="text"><%= string.IsNullOrEmpty(昨日门诊收入) ? "无" :昨日门诊收入%></span>
                        </a></li>
                        <%} %>

                        <%if (昨日入院人数权限 == true)
                            {%>
                        <li><a href="CurrDayInHospNum_Item.aspx?Key=<%=UnicodeKey %>">
                            <span class="typename">昨日入院人数</span>
                            <span class="text"><%= string.IsNullOrEmpty(昨日入院人数) ? "无" :昨日入院人数%></span>
                        </a></li>
                        <%} %>
                        <%if (昨日退院人数权限 == true)
                            {%>
                        <li><a href="CurrLeaveHospNum_Item.aspx?Key=<%=UnicodeKey %>">
                            <span class="typename">昨日退院人数</span>
                            <span class="text"><%= string.IsNullOrEmpty(昨日退院人数) ? "无" :昨日退院人数%></span>
                        </a></li>
                        <%} %>

                        <%if (今日在院人数权限 == true)
                            {%>
                        <li><a href="CurrInHosp_ByDiag.aspx?Key=<%=UnicodeKey %>">
                            <span class="typename">实时在院人数</span>
                            <span class="text"><%= string.IsNullOrEmpty(今日在院人数) ? "无" :今日在院人数%></span>
                        </a></li>
                        <%} %>
                        <%if (今日门诊人数权限 == true)
                            {%>
                        <li><a href="#">
                            <span class="typename">实时门诊人数</span>
                            <span class="text"><%= string.IsNullOrEmpty(今日门诊人数) ? "无" :今日门诊人数%></span>
                        </a></li>
                        <%} %>


                        <%if (今日急诊人数权限 == true)
                            {%>
                        <li><a href="#">
                            <span class="typename">实时急诊人数</span>
                            <span class="text"><%= string.IsNullOrEmpty(今日急诊人数) ? "无" :今日急诊人数%></span>
                        </a></li>
                        <%} %>
                        <%if (今日总收入权限 == true)
                            {%>
                        <li><a href="#">
                            <span class="typename">实时总收入</span>
                            <span class="text"><%= string.IsNullOrEmpty(今日总收入) ? "无" :今日总收入%></span>
                        </a></li>
                        <%} %>

                        <%if (今日住院收入权限 == true)
                            {%>
                        <li><a href="#">
                            <span class="typename">实时住院收入</span>
                            <span class="text"><%= string.IsNullOrEmpty(今日住院收入) ? "无" :今日住院收入%></span>
                        </a></li>
                        <%} %>
                        <%if (今日急诊收入权限 == true)
                            {%>
                        <li><a href="#">
                            <span class="typename">实时急诊收入</span>
                            <span class="text"><%= string.IsNullOrEmpty(今日急诊收入) ? "无" :今日急诊收入%></span>
                        </a></li>
                        <%} %>

                        <%if (今日门诊收入权限 == true)
                            {%>
                        <li><a href="#">
                            <span class="typename">实时门诊收入</span>
                            <span class="text"><%= string.IsNullOrEmpty(今日门诊收入) ? "无" :今日门诊收入%></span>
                        </a></li>
                        <%} %>
                        <%if (今日入院人数权限 == true)
                            {%>
                        <li><a href="#">
                            <span class="typename">实时入院人数</span>
                            <span class="text"><%= string.IsNullOrEmpty(今日入院人数) ? "无" :今日入院人数%></span>
                        </a></li>
                        <%} %>
                        <%if (今日退院人数权限 == true)
                            {%>
                        <li><a href="#">
                            <span class="typename">实时退院人数</span>
                            <span class="text"><%= string.IsNullOrEmpty(今日退院人数) ? "无" :今日退院人数%></span>
                        </a></li>
                        <%} %>
                    </ul>

                </div>
            </div>
        </section>

    </div>

    <script>
        (function () {
            /*列点击*/
            $('.left li', $('.lb_box')).each(function (index, el) {
                var $this = $(this), lb_boxul = $('.right .cases', $('.lb_box'));
                $this.find('a').on('click', function () {
                    $(this).addClass('cur')
                    .parents('li').siblings().find('a').removeClass('cur');
                    lb_boxul.eq(index).show().siblings().hide();
                });
            });

            if ('<%=ParmeDt.Date==DateTime.Now.Date %>' == 'True') {
                $("#searchDate").css('display', 'none');

                return;
            }

        })(window.jquery);

    </script>
</body>
</html>
